package com.example.springboottestgit.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.springboottestgit.bean.TenderBsn;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @description:
 * @author: ZZZ
 */

@Mapper
public interface TenderBsnMapper extends BaseMapper<TenderBsn> {

    TenderBsn queryBsn(@Param("bsn") String bsn);

    List<String> queryBsnList(@Param("status") int status);

    void updateBsnStatus(@Param("bsn") String bsn, @Param("status") int status);

    void updateBsnStatusAndTime(@Param("bsn") String bsn,@Param("status") int status);

}

